package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.SysInitSetBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface SysInitSetService extends BaseService<SysInitSetBean> {

	SysInitSetBean getSysInitSetBeanById(String id) throws Exception;
	
	void removeSysInitSetBeanById(String id) throws Exception;
	
	void removeSysInitSetBeanByIds(String ids) throws Exception;
	
	SysInitSetBean saveSysInitSetBean(SysInitSetBean crm) throws Exception;
	
	SysInitSetBean updateSysInitSetBean(SysInitSetBean crm) throws Exception;
	
	Page<SysInitSetBean>  findSysInitSetBeanByCond(SysInitSetBean bean,
			Page<SysInitSetBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveSysInitSetBeanExt(String sql) throws Exception;

	String findSysInitSetBeanExtCreate(String tableName) throws Exception;

	String findSysInitSetBeanExtEdit(String tableName, String id)
			throws Exception;

	String findSysInitSetBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasSysInitSetBeanExtData(String tableName, String id)
			throws Exception;
}